*{
    margin: 0;
    padding: 0;
}
/* =====================头部========================== */
.header{
    width: 100%;
    height: 100px;
    margin:  0 auto;
    min-width: 1500px;
    position: fixed;
    background-color: #fff;
    z-index: 999;
    border-bottom:2px solid #6e3210;
}

.header-m{
    width: 100%;
    height: 100px;
    margin:  0 auto;
    min-width: 1500px;
}

.header .header-inner{
    width: 1536px;
    height: 100px;
    margin: 0 auto;
    background-color: #fff;
    z-index: 999;
}
/* ========头部导航============== */
.nav{
    width: 80%;
    height: 81px;
    /* background-color: aliceblue; */
    float: left;/*向左拼接*/
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
    
}
/* =========logo========== */
.nav  .logo{
    width: 25%;
    height: 100%;
    float: left; 
    
}
.nav .logo a img{
    display: block;
    width: 300px;
    height: 70px;
}
.nav .menu-item{
    float: left;
    width: auto;
    margin-left: 10px;
    padding-left: 30px;
    padding-right: 30px;
    height: 100%;
}
.nav .menu-item a{
    width: 100%;
    height: 100%;
    color: gray;
    font-size: 18px;
    text-decoration: none;   /*去除超链接下划线*/
    line-height: 76px;/* 垂直居中 */
    text-align: center;/* 水平居中 */  
 }
 /* ======搜索======= */
.nav .search-form{
    float: left;
    width: auto;
    margin-left: 50px;
    margin-right: 50px;
    padding: 0 20px;
    height: 100%;
    position: relative;
    /* background-color: aqua; */
 }

 .nav .search-form  .search-text{
    display: block;
    margin-top: 20px;
    width: 200px;
    height: 30px;
    font-size: 12px;
    color: #333;
    border-radius: 30px;
    overflow: hidden;
    padding-left: 8px;
    padding-right: 30px;
    outline: none;
    border: 1px solid #ccc;
    float: left;
 }

 .search-form .search-img{
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    background: url(../img/XQing_search.png);
    background-size: 100% 100%;
    background-position: center;
    float: left;
    margin-top: 20px;
    margin-left: 205px;
     border: 0;
 }


 /* ==========头像============ */
.head-user{
    width: 100px;
    height: 100%;
    /* background-color: rgb(67, 165, 42); */
    float: left;
    /* margin-left: 20px; */
}

.head-user .loginBtn{
    display: block;
    width: 50px;
    height: 60px;
    float: left;  
    text-align: center;
    color: #6e3210; 
    font-size: 14px;
    text-decoration: none;
    line-height:58px ;
    margin-top: 5px;
}

.head-user .loginBtn:hover{
    font-weight: bolder;
}
.header .user-info {
    float: right;
    position: relative;
    z-index: 9999;
    height: 100%;
}
.header .user-info .user-avatar {
    display: block;
    border: 1px solid transparent;
    border-top: none;
    border-bottom: none;
    padding: 0 10px;
    width: 56px;
    height: 100%;
}
.header .user-info .user-avatar img {
    border: 1px solid #d8d8d8;
    margin-top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}
.header .user-info .user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 81px;
    border: 1px solid #dedede;
    border-top:2px solid #6e3210;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    text-align: right;
    padding: 15px 10px 5px;
    text-align: center;
}
.header .user-info .user-menu li.text {
    word-break: keep-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.header .user-info .user-menu li>a {
    color: #999;
    display: block;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.user-info:hover .user-menu{
    display: block;
}
